package fr.p10.miage.personnels.model;

public class Etudiant extends Personnel {

	private int bourse;

	public Etudiant(String nom, String prenom, int numeroSecuriteSociale,
			int bourse, Departement departement) {
		super(nom, prenom, numeroSecuriteSociale, departement);
		this.bourse = bourse;
	}

	public int getBourse() {
		return bourse;
	}

	public void setBourse(int bourse) {
		this.bourse = bourse;
	}

	@Override
	public String toString() {
		return "Etudiant [nom =" + getNom() + ", prenom()=" + getPrenom()
				+ ", numeroSecuriteSociale()=" + getNumeroSecuriteSociale()
				+ ", departement()=" + getDepartement() + " getBourse()="
				+ bourse + "]";
	}

}